function check() {
	var agree = document.getElementById("agree_button").checked;
	var phone = document.getElementById("phone_number").value;
	if(agree) {
		if(!(/^1[34578]\d{9}$/.test(phone))) {
			alert("手机号码有误，请重填");
			return false;
		} else {
			return true;
		}
	} else {
		alert('请先同意并愿意遵守小米用户协议和隐私政策');
		return false;
	}

}